<include file="../Public/Header" />
<!----------------------------------------------------------------------------------->

<style>
    .articlesort{ font-size: 12px;text-align: center}
    .articlesort td{ border-bottom: 1px solid #ccc}
    .articlesort .select{ text-align: left}
    .articlesort .id{ width: 100px;}
    .articlesort .name{ width: 180px;}
    .articlesort .status{ width: 60px;}
    .articlesort .sort{ width: 100px; }
    .articlesort .user{ width: 100px;}
    .articlesort .click{ width: 40px;}
    .articlesort .creattime{ width: 80px;}
    .articlesort .content td{ }
</style>

    <table  class="articlesort">
        <tr class="select">
            <td colspan="6">
                <select onchange="document.location='admin.php?m=article&sid='+this.value">
                    <option value="0">全部</option>
                    
                </select>
            </td>
        </tr>
        <tr class="title">
            <td class="id">管理员id</td>
            <td class="name" >用户名</td>
            <td class="sort">管理组</td>
            <td class="time">最后登录时间</td>
            <td class="ip">最后登录ip</td>
            <td class="admin">操作</td>
        </tr>
        <php>foreach($list as $vo){</php>
        <tr class="content">
            <td class="id">{$vo.admin_id}</td>
            <td class="name"><a href="admin.php?m=admin&a=update&id={$vo.admin_id}" title="{$vo.admin_name}">{$vo.admin_name}</a></td>
            <td class="sort"><php>if ($vo[admin_id]==1){</php>创始人<php>}else{</php>{$vo.sort_name}<php>}</php></td>
            <td class="time">{$vo.admin_lastlogin_time|date='Y-m-d H:i:s',###}</td>
            <td class="ip">{$vo.admin_lastlogin_ip}</td>
            <td class="admin"><a href="{:U('update',array('admin_id'=>$vo[admin_id]))}">修改</a>|<php>if ($vo[admin_id]>1){</php><a href="{:U('del',array('admin_id'=>$vo[admin_id]))}" onclick="return confirm('{$language.admin_del_box}')">删除</a><php>}else{</php>删除<php>}</php></td>
        </tr>
        <php>}</php>
    </table>
              
			 
			 
<!-----------------------------------------------------------------------------------> 
<include file="../Public/footer" />